import request from '@/utils/request'
// 打开编辑
export function bianjiXiu(id) {
  return request({
    url: `/company/department/${id}`,
    method: 'get'
  })
}
// 修改编辑
export function updataXiu(data) {
  return request({
    url: `/company/department/${data.id}`,
    method: 'PUT',
    data
  })
}// /company/department/{id}
export function DELETEdata(id) {
  return request({
    url: `/company/department/${id}`,
    method: 'DELETE'

  })
}
